-- GENERATED SPELL FOR [Promenade Sentinel] --


function spell0_23394(pUnit, Event) --@L5 Arcane Charge,n/a--
pUnit:FullCastSpellOnTarget(41360,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23394', 2700, 1)
end

function Sorts_23394(pUnit, Event)
local choix_sorts_23394 = math.random(0, 0)
if choix_sorts_23394 == 0 then
pUnit:RegisterEvent('spell0_23394', 1, 1)
end
end

function mob23394_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23394', math.random(1500, 3000), 1)
end

function mob23394_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23394_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23394_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23394, 1, 'mob23394_Action')
RegisterUnitEvent(23394, 2, 'mob23394_Leave')
RegisterUnitEvent(23394, 3, 'mob23394_Kill')
RegisterUnitEvent(23394, 4, 'mob23394_Die')
